From 0c41a8f422d3bf9a0f9a569938330dcbe5d534cb Mon Sep 17 00:00:00 2001 From: "emellor@ewan" Date: Wed, 21 Sep 2005 11:31:55 +0100 Subject: [PATCH] Remove unused DEBUG variable, and -d flag. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendClient.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/python/xen/xend/XendClient.py b/tools/python/xen/xend/XendClient.py index 0a46c0b5f5..4a78e8ab27 100644 --- a/tools/python/xen/xend/XendClient.py +++ b/tools/python/xen/xend/XendClient.py @@ -33,8 +33,6 @@ from XendProtocol import HttpXendClientProtocol, \ UnixXendClientProtocol, \ XendError -DEBUG = 0 - def fileof(val): """Converter for passing configs or other 'large' data. Handles lists, files directly. @@ -385,7 +383,6 @@ python XendClient.py domains python XendClient.py domain 0 (domain (id 0) (name Domain-0) (memory 128)) """ - global DEBUG from getopt import getopt short_options = 'x:au:d' long_options = ['xend=', 'unix=', 'debug'] @@ -397,8 +394,6 @@ python XendClient.py domain 0 srv = v elif k in ['-u', '--unix']: unix = int(v) - elif k in ['-d', '--debug']: - DEBUG = 1 if len(args): fn = args[0] args = args[1:] -- 2.30.2